package server;

import java.sql.SQLException;
import java.util.List;
import entity.News;
public interface NewsServer
{
	public int add(News a) ;
    public int delete(int aid) ;
    public int update(News a) ;
    public List query() ;
    public News selectId(int id) ;
    
}
